package com.blogSystem.type.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("blog-system-article")
public interface BaseClient {
    @RequestMapping(value = "/article/add_type",method = RequestMethod.PUT)
    public void add_type(@RequestParam String _id, @RequestParam String type_id);

    @RequestMapping(value = "/record",method = RequestMethod.PUT)
    public void record(@RequestParam String user_id, @RequestParam String type_id);
}
